#include "main.h"

#define Out 1
#define In  0

#define DHT11_GPIO_Port GPIOB
#define DHT11_GPIO_Pin  GPIO_PIN_12


void SetMode(uint8_t mode);

void DHT11_Start(void);

uint8_t Check_DHT11(void);

uint8_t DHT11_Read_Bit(void);

uint8_t DHT11_Read_Byte(void);

uint8_t DHT11_Read_Data(uint16_t *temp , uint16_t *humi);

uint8_t DHT11_Init(void);

